package com.FH.organization.people;

import com.FH.util.ResultDTO;

import java.util.List;

/**
 * Created by jinweizhe on 16/6/23.
 */
public interface KamMemberDAO {

    //登录方法
    public ResultDTO getLoginInfo(String member_name,String password);

    //注册方法
    public ResultDTO addKamMember(KamMemberPullDTO kamMemberPullDTO);

    //多级查询得到菜单信息
    public ResultDTO getUserMenuInfo(String search,String page,String size);
//    public ResultDTO getOrgMenuInfo(String search,String page,String size);
    //public ResultDTO updateKamMember(KamMemberPullDTO kamMemberPullDTO);

    //获取用户列表
    public ResultDTO getUserListInfo(String search,String page,String size);

    /**获取所有用户*/
    ResultDTO getAllUserInfo();

    //很具id删除单个用户信息
    public ResultDTO deleteKamMemberInfo(KamMemberPullDTO kamMemberPullDTO);

    //根据member_id修改用户信息
    public ResultDTO updateKamMemberInfo(KamMemberPullDTO kamMemberPullDTO);

    //获取全部用户id及姓名
    public List<KamMemberIdName> getAllMemberIdName();

}
